﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = EngineeringEquipment
		Group                          = Erp
		ModuleClass                    = Seismic
		Module                         = ser-300 devactico seismic erp
		CpuUsage                       = 53.00 TF
		ReactorUsage                   = 17.00 RP
		Type                           = Passive
		Slot                           = Legs
		TechnologicalLevel             = T3
		Mass                           = 500.00 kg
		PackedVolume                   = 0.50 U
		Volume                         = 1.00 U
		ChemicalDamageRecovery         = 25.00 %
		KineticDamageRecovery          = 12.50 %
		SeismicDamageRecovery          = 60.00 %
		ThermalDamageRecovery          = 12.50 %
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// SER-300 'Devactico' seismic ERP module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:55</remarks>
    public sealed class Ser300DevacticoSeismicErp : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="Ser300DevacticoSeismicErp"/> class.
        /// </summary>
        public Ser300DevacticoSeismicErp()
            : base(
            "SER-300 'Devactico' seismic ERP",
            "",
            ModuleMetaGroupsEnum.EngineeringEquipment,
            ModuleGroupsEnum.Erp,
            TechnologyLevelsEnum.Level3,
            SizesEnum.Small,
            new LazyFeature[] { 
				new LazyFeature(typeof(CpuUsage<double>),53.00),
				new LazyFeature(typeof(ReactorUsage<double>),17.00),
				new LazyFeature(typeof(ModuleMass<double>),500.00),
				new LazyFeature(typeof(ChemicalDamageRecovery<double>),0.25),
				new LazyFeature(typeof(KineticDamageRecovery<double>),0.125),
				new LazyFeature(typeof(SeismicDamageRecovery<double>),0.6),
				new LazyFeature(typeof(ThermalDamageRecovery<double>),0.125), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 500.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Passive; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Legs; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Modules; }
        }
    }
}